{% extends "layout.html" %}
{% block body %}
<div class="container-fluid">
  <div class="row">
    <div class="col-lg-12">
      <h3 class="page-header">添加用户</h3>
    </div>
  </div>

  <div class="row">
    <div class="col-lg-12">
      <form class="form-horizontal" action="/user/create" method="post">
        <div class="form-group">
          <label for="username" class="col-sm-2 control-label">用户名</label>
          <div class="col-sm-4">
            <input id="username" name="username" required type="text" class="form-control"/>
          </div>
        </div>
        <div class="form-group">
          <label for="password" class="col-sm-2 control-label">密码</label>
          <div class="col-sm-4">
            <input id="password" name="password" required type="password" class="form-control"/>
          </div>
        </div>
        <div class="form-group">
          <div class="col-sm-offset-2 col-sm-10">
            <button type="submit" class="btn btn-default">保存</button>
          </div>
        </div>
      </form>
    </div>
  </div>
</div>
{% endblock %}
